using System;
using System.Collections.Generic;
using System.Text;
using Koonsoft.Relocate.DAL.RelocateTableAdapters;

namespace Koonsoft.Relocate.BLL
{
    [System.ComponentModel.DataObject]
    public class Uptowns
    {
        private UptownsTableAdapter _uptownsTableAdapter = null;

        protected UptownsTableAdapter Adapter
        {
            get 
            {
                if (_uptownsTableAdapter == null)
                {
                    _uptownsTableAdapter = new UptownsTableAdapter();
                }
                return _uptownsTableAdapter;
            }
        }

        public Relocate.DAL.Relocate.UptownsDataTable GetUptowns()
        {
            return Adapter.GetUpTowns();
        }
    }
}
